package cn.stylefeng.roses.kernel.saas.api.util;

import cn.hutool.core.util.IdUtil;
import cn.hutool.crypto.SecureUtil;

/**
 * saas相关工具类
 *
 * @author fengshuonan
 * @date 2021/5/26 22:09
 */
public class SaasCodeUtil {

    /**
     * 获取租户编码
     *
     * @author fengshuonan
     * @date 2021/5/26 22:10
     */
    public static String getTenantCode() {
        return SecureUtil.md5(IdUtil.fastUUID());
    }

}
